package com.lizhe.async;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 类描述:
 *
 * @author Administrator
 * @create 2021-11-03 23:33
 */
@EnableAsync // 开启异步处理
@EnableScheduling // 开启定时任务
@SpringBootApplication
public class AsyncApplication {
    public static void main(String[] args) {
        SpringApplication.run(AsyncApplication.class, args);
    }
}
